﻿<UserControl x:Class="MemoBoss.ScoreloopDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    mc:Ignorable="d" 
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="400" d:DesignWidth="440" >

    <Grid x:Name="LayoutRoot"  Width="440">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <Border Grid.RowSpan="2"  Background="{StaticResource PhoneAccentBrush}" CornerRadius="20" Opacity="0.7"></Border>
        <StackPanel>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="auto"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                <Image Grid.Column="0" Margin="20" Source="/Images/sl_icon_badge_mdpi.png" Stretch="None" />
                <TextBlock Grid.Column="1" Grid.Row="0"  FontSize="22" Margin="20" TextWrapping="Wrap">
            Set up your scoreloop account
                </TextBlock>
            </Grid>
            <TextBlock  Text="Login" Margin="9,-7,0,0"/>
            <TextBox Grid.Column="0"  x:Name="txtLogin"/>
            <TextBlock  Text="Email" Margin="9,-7,0,0"/>
            <TextBox Grid.Column="0"  x:Name="txtEmail"/>
          
        </StackPanel>

        <StackPanel  Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,0,0,15">
            <Button Content="Submit" Name="btn1"  HorizontalAlignment="Stretch"  Height="72"  Width="160" Click="btn1_Click" />
            <Button Content="Cancel" Name="btn2"  HorizontalAlignment="Stretch"  Height="72"  Width="160" Click="btn2_Click" />
        </StackPanel>
    </Grid>
</UserControl>
